package com.training1.core.modules.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training1.core.common.service.CrudService;
import com.training1.core.entity.ContractEXEEntity;
import com.training1.core.modules.dao.ContractEXEDao;

@Service
@Transactional
public class ContractEXEService extends CrudService<ContractEXEDao,ContractEXEEntity>{
	
	
	@Resource
	private ContractEXEDao contractEXEDao;
	
	
	
	public List<ContractEXEEntity> findListByCID(Map<String ,Object> map){
		return contractEXEDao.findListByCID(map);
	}
	public ContractEXEEntity findMax(String id){
		return contractEXEDao.findMax(id);
	}
	public String findSUM(String contractbaseid){
		return contractEXEDao.findSUM(contractbaseid);
	}
}
